﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>错误</title>
</head>
<body>
    <div>
    <% var ex = Model as Exception; %>
    <% if (ex != null) %>
    <% { %>
    <h2><%=ex.Message%></h2>
    <p>
        <%=ex.StackTrace %>
    </p>
    <% } %>
    <% else %>
    <% { %>
    对不起，您的请求出错了。
    <% } %>
    </div>
</body>
</html>
